<?xml version="1.0" ?>
<!DOCTYPE PISI SYSTEM "https://pisilinux.org/projeler/pisi/pisi-spec.dtd">
<PISI>
    <Source>
        <Name>pciutils</Name>
        <Homepage>https://mj.ucw.cz/sw/pciutils/</Homepage>
        <Packager>
            <Name>PisiLinux Community</Name>
            <Email>admins@pisilinux.org</Email>
        </Packager>
        <License>GPLv2</License>
        <IsA>app:console</IsA>
        <Summary>Various utilities dealing with the PCI bus</Summary>
        <Description>The PCI Utilities are a collection of programs for inspecting and manipulating configuration of PCI devices.</Description>
        <Archive sha1sum="b6e58a532844007bf930ab2c88b4a6366ddbe7b0" type="tarxz">https://mirrors.edge.kernel.org/pub/software/utils/pciutils/pciutils-3.9.0.tar.xz</Archive>
        <Archive sha1sum="f4b0844dee17d14b8910ce8d0b7df9d02da175ce" type="binary" target="pciutils-3.9.0">https://github.com/pciutils/pciids/raw/master/pci.ids</Archive>
        <BuildDependencies>
            <Dependency>eudev-devel</Dependency>
            <Dependency>libkmod-devel</Dependency>
        </BuildDependencies>
        <Patches>
            <!-- Disable gz support of pciids file -->
            <Patch level="1">pciutils-nogz.patch</Patch>
            <!-- <Patch level="1">pciutils-3.1.9-static-pc.patch</Patch> -->
        </Patches>
    </Source>

    <Package>
        <Name>pciutils</Name>
        <RuntimeDependencies>
            <Dependency>zlib</Dependency>
            <Dependency>eudev</Dependency>
            <Dependency>libkmod</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="executable">/usr/bin/lspci</Path>
            <Path fileType="executable">/usr/sbin/setpci</Path>
            <Path fileType="library">/usr/lib</Path>
            <Path fileType="man">/usr/share/man</Path>
            <Path fileType="data">/usr/share/hwdata</Path>
        </Files>
    </Package>

    <Package>
        <Name>pciutils-devel</Name>
        <PartOf>system.devel</PartOf>
        <Summary>Development files for pciutils</Summary>
        <RuntimeDependencies>
            <Dependency release="current">pciutils</Dependency>
        </RuntimeDependencies>
        <Files>
            <Path fileType="data">/usr/lib/pkgconfig</Path>
            <Path fileType="header">/usr/include</Path>
        </Files>
    </Package>

    <History>
        <Update release="10">
            <Date>2023-02-06</Date>
            <Version>3.9.0</Version>
            <Comment>Version bump.</Comment>
            <Name>fury</Name>
            <Email>uglyside@yandex.ru</Email>
        </Update>
        <Update release="9">
            <Date>2021-11-27</Date>
            <Version>3.7.0</Version>
            <Comment>Rebuild.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="8">
            <Date>2020-12-09</Date>
            <Version>3.7.0</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="7">
            <Date>2020-05-14</Date>
            <Version>3.6.4</Version>
            <Comment>Version bump.</Comment>
            <Name>Mustafa Cinasal</Name>
            <Email>muscnsl@gmail.com</Email>
        </Update>
        <Update release="6">
            <Date>2019-12-26</Date>
            <Version>3.6.2</Version>
            <Comment>Rebuild</Comment>
            <Name>Idris Kalp</Name>
            <Email>idriskalp@gmail.com</Email>
        </Update>
        <Update release="5">
            <Date>2018-11-21</Date>
            <Version>3.6.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="4">
            <Date>2018-07-15</Date>
            <Version>3.5.2</Version>
            <Comment>Rebuild.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="3">
            <Date>2017-01-29</Date>
            <Version>3.5.2</Version>
            <Comment>Version bump.</Comment>
            <Name>Ertuğrul Erata</Name>
            <Email>ertugrulerata@gmail.com</Email>
        </Update>
        <Update release="2">
            <Date>2016-04-27</Date>
            <Version>3.4.1</Version>
            <Comment>Release Bump</Comment>
            <Name>PisiLinux Community</Name>
            <Email>admin@pisilinux.org</Email>
        </Update>
        <Update release="1">
            <Date>2016-03-03</Date>
            <Version>3.4.1</Version>
            <Comment>First release</Comment>
            <Name>Alihan Öztürk</Name>
            <Email>alihan@pisilinux.org</Email>
        </Update>
    </History>
</PISI>
